<script src="/resource/laydate/laydate.js" type="text/javascript"></script>
<style>
.filter { margin: 0; padding: 10px 0; }
.filter .btn {background-image: none; padding: 2px 10px; font-weight: normal; height: auto; }
.filter input[type="text"] { width: 80px; }
</style>
<script>
$(document).ready(function () {
});
</script>

<div class="filter">
    <form action="" method="GET">
       <label>起始日:</label>
            <input type="text" onclick="laydate()" name="startDay" value="<{$filter.startDay}>"> 
        <label>结束日:</label>
            <input type="text" onclick="laydate()" name="stopDay" value="<{$filter.stopDay}>"> 

        <label>编号:</label>
            <input type="text" name="orderNo" value="<{$filter.orderNo}>"> 

        <label>类型:</label>
            <select name="goodsType">
                <option value="">全部</option>
                <{foreach from=$filter.goodsTypeList key="type" item="name"}>
                <option value="<{$type}>" <{if $filter.goodsType == $type}>selected="selected"<{/if}>><{$name}></option>
                <{/foreach}>
            </select>


        <label>状态:</label>
            <select name="status">
                <option value="-1">全部</option>
                <{foreach from=$filter.statusList key="statusId" item="statusName"}>
                <option value="<{$statusId}>" <{if $filter.status == $statusId}>selected="selected"<{/if}>><{$statusName}></option>
                <{/foreach}>
            </select>

        <label>导游：</label>
            <select name="shopId">
                <option value="0">全部导游</option>
                <{foreach from=$filter.shopList key="shopId" item="shopName"}>
                <option value="<{$shopId}>" <{if $filter.shopId == $shopId}>selected="selected"<{/if}>><{$shopName}></option>
                <{/foreach}>
            </select>
    

        <input type="submit" class="btn" value="过滤">
    </form>
</div>
